package com.alibaba.aone.casestudy.service;

import java.util.List;

import com.alibaba.aone.casestudy.common.entity.Failure;
import com.alibaba.aone.casestudy.common.entity.FailureConditions;

public interface FailureService {
	Failure getFailureByNumber(String number);
	List<Failure> selectFailure(FailureConditions failureConditions);
	void updateFailure(Failure failure);
	void addFailure(Failure failure);
	List<Failure> getAllFailures();
	int setFailureNumber();
	void delete(String number);

}
